<link type="text/css" href="/admins/js/jquery/css/ui-lightness/jquery-ui-1.8.20.custom.css" rel="stylesheet" />
<script type="text/javascript" src="/admins/js/My97DatePicker/WdatePicker.js"></script>
<style type="text/css">
  .table table td {
    word-break: break-all;
}
</style>
<div  class="biaoge">
    <div class="biaotbody">
        <table>
            <tr>
             
               <th class="li5">
                    <div class="lileft"><span>1</span></div>
                </th>
                <th class="li5">
                    <div class="lileft"><span>2</span></div>
                </th>
                <th class="li5">
                    <div class="lileft"><span>3</span></div>
                </th>
                <th class="li5">
                    <div class="lileft"><span>4</span></div>
                </th>              
                <th class="li5">
                    <div class="lileft"><span>5</span></div>
                </th>
                 <th class="li5">
                    <div class="lileft"><span>6</span></div>
                </th>
                <th class="li5">
                   <div class="biaoxiala">
                    <div class="lixiala"><span>类型</span><i></i></div>
                    <div class="biaoxllb" style="display:none;">
                            <ul>                               
                              <li><a href="?type=1"  class="setStatus">美国FBA专线（普货）</a></li>
                              <li><a href="?type=2"  class="setStatus">美国FBA专线（带电）</a></li> 
                              <li><a href="?type=3"  class="setStatus">欧洲FBA专线（普货）</a></li>
                              <li><a href="?type=4"  class="setStatus">欧洲FBA专线（带电）</a></li> 
                            </ul>
                        </div> </div>
                </th>
                 <th class="li5">
                    <div class="lileft"><span></span></div>
                </th>
            </tr>
        </table>
    </div>

     <div class="table">
         <table>
             <?php if($this->hotList){
                 foreach ($this->hotList as $Item) { ?> 
                 <tr>

                     <td class="li5">
                         <div class="lileft">
                           <?php echo $Item->item1;?>                          
                        </div>
                     </td>
                     <td class="li5">
                         <div class="lileft">
                         <?php echo $Item->item2;?>
                        </div>
                     </td>
                     <td class="li5">
                         <div class="lileft">
                          <?php echo $Item->item3;?>                           
                        </div>
                     </td>
                     <td class="li5">
                         <div class="lileft">
                          <?php echo $Item->item4;?>                           
                        </div>
                     </td>
                     <td class="li5">
                         <div class="lileft">
                          <?php echo $Item->item5;?>                           
                        </div>
                     </td>
                   
                   <td class="li5">
                         <div class="lileft">                         
                             <?php echo $Item->item6;?>
                        </div>
                     </td>
                     <td class="li5">
                         <div class="lileft">
                             <?php if($Item->type == 1) echo '美国FBA专线（普货）';
                             elseif($Item->type == 2) echo '美国FBA专线（带电）';
                             elseif($Item->type == 3) echo '欧洲FBA专线（普货）';
                             elseif($Item->type == 4) echo '欧洲FBA专线（带电）'; ?>
                        </div>
                     </td>
                     <td class="li5">
                         <div class="lileft">
                        <a class="xlnavxq" href="/admini/goods/hotdetail/id/<?php echo $Item->Id;?>" >编辑</a>
                        </div>
                     </td>
                 </tr>
             <?php }  } else {
                echo "<font size='4' color='red'>暂无数据</font>";
                }?>   
         </table>
     </div>
 </div>
<div class="toolbar">
    <div class="qunx">
        <ul>
            <li><a class="anvbotton" href="javascript:void(0)" id="addGeneralize" name="addGeneralize"><span>添加</span></a></li>
        </ul>
    </div>

</div>
<script>
    $(function(){
        $(".lixiala").click(function(){
            $(".lixiala").attr("class","lixiala");
            $(".lixiala").next("div").hide();

            $(this).attr("class","lixiala bton");
            $(this).next("div").show();
        });
       
       $("#addGeneralize").click(function(){
          location.href='/admini/goods/addhot';
       });
    });
</script>